const express = require('express');
const router = express.Router();
console.log(router);

router.get('/', function (req, res, next) {
    res.send('hello world')
});

router.post('/index', function (req, res, next) {
    console.log('req', req.body);
    res.send('index pages')
});

module.exports = router;
